<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>登录页</title>
</head>
<body>

    <form action="/doLogin" method="post">
        登录名：<input name="username"/><br/>
        密码：<input name="password"/><br/>
        <input type="submit" value="登录"/>
        <input type="hidden" name="url" th:value="${url}">
    </form>

</body>
</html>